package com.ogawa.projectcommon.utils

//Kotlin实现
class SingletonUtils private constructor() {
    var isNeedUpdateApp = false//是否需要更新app
    companion object {
        private var instance: SingletonUtils? = null
            get() {
                if (field == null) {
                    field = SingletonUtils()
                }
                return field
            }
        fun get(): SingletonUtils{
            return instance!!
        }
    }



}